package com.bootdo.per.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.bootdo.per.domain.WeightDO;
import com.bootdo.per.domain.WeightModel;

/**
 * 权重Dao层接口
 * @author HonestWan
 *
 */
@Mapper
public interface WeightDao {
	
	WeightDO get(Long id);
	
	List<WeightDO> list(Map<String,Object> map);
	
	int batchUpdate(WeightModel list);//批量修改权重
	
	double getWeightByRoleType(String roleType);//根据角色类型查找权重
	
}
